{% extends "base.html" %}


{% block title %}PSES Assets{% endblock %}

{% block app %}PSES Asset viewer{% endblock %}

{% block content %}
<div>
<p>Asset test : {{test}}</p>
<p>Assets : {{assetCount}}</p>
</div>
{% for assetID, attribs in assetDict.items %}
	{% if attribs.parent == "No parent" %}
		<p>{{attribs.parent}} : </p>
		{% if attribs.childs %}
			<p>childs : {{attribs.childs}}</p>
		{% else %}
			<p>No childs</p>
		{% endif %}
		<p style="margin-left:30px">{{ assetID }} : {{ attribs.typeName }} - {{ attribs.qty }} - {{ attribs.locID }} | {{ attribs.locationName }} content type : {{ attribs.flagText }}</p>
	{% else %}
		<p>no primary node</p>
	{% endif %}
{% endfor %}

<p>Vue affichee en {{ assetDict.delta }} secondes</p>

{% endblock %}